<?php
/*=======================================================================
 Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System
 =======================================================================*/
include_once(NUKE_BASE_DIR.'header.php');
include_once('modules/'.$module_name.'/admin/UploadMenu.php');
OpenTable();
	global $db, $prefix;
		$image_id = $_GET['image_id'];
		$row_image = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_upload WHERE id='".$image_id."'"));
		$imageowner = $row_image['username'];
		echo "
		<div align=\"center\">
			<img src=\"".$config['path'].$row_image['img']."\" width=\"50\" height=\"50\" alt=\"\" border=\"0\" />
			<h2>Do you want to delete this image? </h2>
			<a href=\"admin.php?op=Uploaduserdetail_delete_c&amp;image_id=".$image_id."\">yes</a> | 
			<a href=\"admin.php?op=Uploaduserdetail_delete&amp;username=".$imageowner."\">no</a>
		</div>
		";
CloseTable();
include_once(NUKE_BASE_DIR.'footer.php');
 ?>